import {service} from './request.js'

export default {
  randomPoetryFetch: (params) => service({params, url: 'https://qqlykm.cn/api/yan/gc.php', method: 'get'}), // 随机查询古诗接口
  adminRoleUpdatePowerFetch: (data) => service({data, url: ADMIN_ROLE_UPDATEPOWER, method: 'post'}), // 修改角色权限
}
export function getHome() {
  return service.get('https://qqlykm.cn/api/yan/gc.php'); // 随机查询古诗接口
}

adminRoleRoleDeleteFetch: (params) => commonPromise({params, url: ADMIN_ROLE_ROLEDELETE, method: 'get'}), 
